Optional


tree

23 optional TreeApplet's parameters may be used in the Html file for customizing the graphics and adding sounds.


Assigning colors to the built-in image icons

Note: The TreeApplet contains built-in images that are used as default

Parameter #1
description: color of the built-in icon image assigned to the link when the mouse is out of the respective link.
name: "Tree_BuiltInMouseOutLinkColor"
value: "integer:integer:integer", where the integer values are the red, green, and blue components of the color.
default: "240:240:230", .

Parameter #2
description: color of the built-in icon image assigned to the menu when the mouse is out of the respective menu.
name: "Tree_BuiltInMouseOutMenuColor"
value: "integer:integer:integer", where the integer values are the red, green, and blue components of the color.
default: "120:0:0", .

Parameter #3
description: color of the built-in icon image assigned to the link when the mouse is over the respective link.
name: "Tree_BuiltInMouseOverLinkColor"
value: "integer:integer:integer", where the integer values are the red, green, and blue components of the color.
default: "220:220:250", .

Parameter #4
description: color of the default built-in icon image assigned to the menu when the mouse is over the respective menu.
name: "Tree_BuiltInMouseOverMenuColor"
value: "integer:integer:integer", where the integer values are the red, green, and blue components of the color.
default: "250:0:0", .

Assigning size and offset to the tree nodes

Note #1: in the following, a "node" refers either to a link or a menu
Note #2: The TreeApplet recognizes 2 distincts nodes: main nodes (nodes belonging to the main menu), and sub-nodes (nodes belonging to all other sub-menus)

Parameter #5
description: height of the nodes of the main menu
name: "Tree_MainNodeHeight"
value: "integer", where the integer value is in pixels
default: "30"

Parameter #6
description: height of the nodes of the sub-menus
name: "Tree_SubNodeHeight"
value: "integer", where the integer value is in pixels
default: "30"

Parameter #7
description: left offset in x of the icon images of the main nodes
name: "Tree_MainIconOffsetX"
value: "integer", where the integer value is in pixels
default: "15"

Parameter #8
description: left offset in x of the icon images of the first level of the sub-nodes
name: "Tree_SubIconOffsetX"
value: "integer", where the integer value is in pixels
default: "35"

Parameter #9
description: left offset in x of the text of the main nodes
name: "Tree_MainTextOffsetX"
value: "integer", where the integer value is in pixels
default: "35"

Parameter #10
description: left offset in x of the text of the first level of the sub-nodes
name: "Tree_SubTextOffsetX"
value: "integer", where the integer value is in pixels
default: "55"

Parameter #11
description: top offset in y of the first main node
name: "Tree_MainUpperNodeOffsetY"
value: "integer", where the integer value is in pixels
default: "40"

Parameter #12
description: gap in x between sub-nodes of successive levels
name: "Tree_SubDeltaX"
value: "integer", where the integer value is in pixels
default: "20"

Links specific parameters

Parameter #13
description: assign a default url target for html links associated with the links
name: "Tree_DefaultUrlTarget"
value: "_self", "_blank", "_parent", "_top", "FrameName", where:

default: "_blank"

Parameter #14
description: specify whether the text and background text of the links selected by mouse clicking should be drawn or not
name: "Tree_DrawMouseClickLink"
value: "true", "false"
default: "true"

Parameter #15
description: specify a url source of a link to be opened after the applet's initialization, and open the parents' menus of the respective link
name: "Tree_ShowUrlSource"
value: "string", where "string" is the urlsource property of the link defined in the Body section of the script file
default: "nothing"

Menus specific parameters

Parameter #16
description: specify whether links between menus' components (menus'children) should be drawn or not as dots
name: "Tree_DrawDots"
value: "true", "false"
default: "true"

Main nodes specific parameters

Note: the following options are useful when using a customized background image that describes the main menu

Parameter #17
description: specify whether the text of the main nodes should be drawn or not
name: "Tree_DrawMainText"
value: "true", "false".
default: "true"

Parameter #18
description: specify whether the border (rectangle) of the main nodes should be drawn or not, if drawing border has been set in the script file
name: "Tree_DrawMainBorder"
value: "true", "false".
default: "true"

Attaching sounds to mouse events in relation to menus and links

Parameter #19
description: play sound when the mouse moves over a link
name: "Tree_MouseOverLinkSound"
value: "string", where "string" is an audio file defined relatively to the location of the Html document containing the applet command.
default: "nothing"

Parameter #20
description: play sound when the mouse moves over a menu
name: "Tree_MouseOverMenuSound"
value: "string", where "string" is an audio file defined relatively to the location of the Html document containing the applet command.
default: "nothing"

Parameter #21
description: play sound when the user clicks onto a link
name: "Tree_MouseClickLinkSound"
value: "string", where "string" is an audio file defined relatively to the location of the Html document containing the applet command.
default: "nothing"

Parameter #22
description: play sound when the user clicks onto a closed menu
name: "Tree_MouseClickMenuClosedSound"
value: "string", where "string" is an audio file defined relatively to the location of the Html document containing the applet command.
default: "nothing"

Parameter #23
description: play sound when the user clicks onto an open menu
name: "Tree_MouseClickMenuOpenSound"
value: "string", where "string" is an audio file defined relatively to the location of the Html document containing the applet tag command.
default: "nothing"